#pragma once
#include "Movement.h"
class Dash : public Movement
{
public:
	Dash();
	virtual ~Dash();

	/**********************************************************/
	// Interface:
	//	- virtual functions for children classes to override
	//	virtual void	Update(float elapsedTime)		override;
	virtual void	Render(void)					override;

	//	virtual SGD::Rectangle GetRect(void)	const			override;
	virtual int		GetType(void)	const			override	{ return MOVE_DASH; }
//	virtual void	HandleCollision(const GameObject* pOther)	override;

	//accessors
	float GetSpeedIncrease(void) const { return m_iSpeedIncrease; }
	bool GetDashing() const { return m_bDashing; }

	//mutators
	void SetSpeedIncrease(float speed) { m_iSpeedIncrease = speed; }
	void SetDashing(bool dashing) { m_bDashing = dashing; }

private:
	float m_iSpeedIncrease = 1200.0f;
	bool m_bDashing = false;
};

